<?php
namespace Users\Controller;
use Think\Controller;
class CommonController extends Controller {

	function _initialize() {
		//判断是否登录
		if(!session('loginUser')){
			$this->redirect('Login/index');
			exit();
		}
	}
}